<template>
  <div>
    <!-- <h2>{{message}}</h2> -->
    <!-- <input type="text" v-model="message"> -->
    <!-- <input type="text" :value="message" @input="message = $event.target.value"> -->

    <input-model v-model="message"></input-model>
    <!-- <input-model :modelValue="message" @update:model-value="message = $event"></input-model> -->
    <input-model2 v-model="message" v-model:title="title"></input-model2>
  </div>
</template>

<script>
import inputModel from './inputModel.vue'
import inputModel2 from './inputModel多个v-model.vue'
export default {
  components: {
    inputModel,
    inputModel2
  },
  data() {
    return {
      message: 'Hello World',
      title: '标题'
    }
  }
}
</script>

<style>

</style>